package com.itheima.service.impl;

import com.itheima.mapper.EmpMapper;
import com.itheima.mapper.LoginMapper;
import com.itheima.pojo.Emp;
import com.itheima.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;

    @Override
    public Emp login(Emp emp) {
       return loginMapper.login(emp);
    }
}
